package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 要客接机送机cardserverRecord扩展表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_guestrecord")
@TableAlias("guestrecord")
@ApiModel(value = "BusGuestrecord对象", description = "要客接机送机cardserverRecord扩展表  ")
public class BusGuestrecord extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键(同cardserverRecordId)")
    @TableId(value = "guestrecordId", type = IdType.ASSIGN_ID)
    private Long guestrecordId;

    @ApiModelProperty(value = "（服务类型，1接机，2送机）")
    private Integer serverType;

    @ApiModelProperty(value = "(预约状态0待审核，1 成功，2 失败)")
    private Integer appointmentState;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "起飞时间")
    private String takeOffTime;

    @ApiModelProperty(value = "始发地")
    private String originatingPlace;

    @ApiModelProperty(value = "到达地")
    private String destinationPlace;

    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "会员卡号")
    private String vipCardNo;

    @ApiModelProperty(value = "原卡号")
    private String oldVipCardNo;

    @ApiModelProperty(value = "使用人")
    private String userName;

    @ApiModelProperty(value = "预约人")
    private String appointmentName;

    @ApiModelProperty(value = "预约时间")
    private String appointmentDate;

    @ApiModelProperty(value = "联系电话")
    private String appointmentPhone;

    @ApiModelProperty(value = "预约成功失败操作者")
    private Long optUserId;

    @ApiModelProperty(value = "是否推送(1推送，2不推送）")
    private Integer isNotice;

    @ApiModelProperty(value = "通知方式(1短信，2微信，3全部）")
    private Integer noticeWay;

    @ApiModelProperty(value = "处理日期")
    private String optDate;

}
